# create nodes by instantiation
saveimage_49 = SaveImage(filename_prefix="""ComfyUI""")
vaedecode_8 = VAEDecode()
controlnetloader_29 = ControlNetLoader(control_net_name="""control_v11p_sd15_lineart_fp16.safetensors""")
cliptextencode_24 = CLIPTextEncode(text="""text, watermark""")
checkpointloadersimple_4 = CheckpointLoaderSimple(ckpt_name="""v1-5-pruned-emaonly.ckpt""")
cliptextencode_7 = CLIPTextEncode(text="""text, watermark""")
bnk_unsampler_13 = BNK_Unsampler(steps=25, end_at_step=0, cfg=1, sampler_name="""dpmpp_2m""", scheduler="""karras""", normalize="""disable""")
ksampleradvanced_16 = KSamplerAdvanced(add_noise="""disable""", noise_seed=0, control_after_generate="""fixed""", steps=25, cfg=2.5, sampler_name="""dpmpp_2m""", scheduler="""karras""", start_at_step=0, end_at_step=25, return_with_leftover_noise="""disable""")
controlnetapplyadvanced_25 = ControlNetApplyAdvanced(strength=0.3, start_percent=0, end_percent=0.5)
controlnetapplyadvanced_30 = ControlNetApplyAdvanced(strength=0.1, start_percent=0, end_percent=0.5)
controlnetloader_19 = ControlNetLoader(control_net_name="""control_v11f1p_sd15_depth_fp16.safetensors""")
aio_preprocessor_43 = AIO_Preprocessor(preprocessor="""LineArtPreprocessor""", resolution=512)
aio_preprocessor_44 = AIO_Preprocessor(preprocessor="""Zoe-DepthMapPreprocessor""", resolution=512)
previewimage_18 = PreviewImage()
previewimage_28 = PreviewImage()
vaeencode_15 = VAEEncode()
vaeloader_26 = VAELoader(vae_name="""vae-ft-mse-840000-ema-pruned.safetensors""")
cliptextencode_6 = CLIPTextEncode(text="""a photo of a girl smiling""")
cliptextencode_21 = CLIPTextEncode(text="""a (cartoon) of a happy girl wearing sunglasses""")
loadimage_14 = LoadImage(image="""woman_portrait.jpg""")

# link nodes by invocation
control_net_29 = controlnetloader_29()
model_4, clip_4, vae_4 = checkpointloadersimple_4()
control_net_19 = controlnetloader_19()
vae_26 = vaeloader_26()
conditioning_21 = cliptextencode_21(clip=clip_4)
conditioning_24 = cliptextencode_24(clip=clip_4)
conditioning_6 = cliptextencode_6(clip=clip_4)
conditioning_7 = cliptextencode_7(clip=clip_4)
image_14, mask_14 = loadimage_14()
image_43 = aio_preprocessor_43(image=image_14)
result_28 = previewimage_28(images=image_43)
image_44 = aio_preprocessor_44(image=image_14)
latent_15 = vaeencode_15(pixels=image_14, vae=vae_26)
latent_13 = bnk_unsampler_13(model=model_4, positive=conditioning_6, negative=conditioning_7, latent_image=latent_15)
positive_25, negative_25 = controlnetapplyadvanced_25(positive=conditioning_21, negative=conditioning_24, control_net=control_net_19, image=image_44)
result_18 = previewimage_18(images=image_44)
positive_30, negative_30 = controlnetapplyadvanced_30(positive=positive_25, negative=negative_25, control_net=control_net_29, image=image_43)
latent_16 = ksampleradvanced_16(model=model_4, positive=positive_30, negative=negative_30, latent_image=latent_13)
image_8 = vaedecode_8(samples=latent_16, vae=vae_26)
result_49 = saveimage_49(images=image_8)
